package com.hoki.zj.batch.mapper;

import com.hoki.zj.basic.mapper.BaseMapper;
import com.hoki.zj.batch.domain.BlogInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


public interface BlogInfoMapper extends BaseMapper<BlogInfo> {

    @Select("SELECT blogAuthor, blogUrl, blogTitle, blogItem FROM bloginfo WHERE blogAuthor < #{authorId}")
    List<BlogInfo> queryInfoById(Map<String, Integer> map);
}
